﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Epam.PhotoGallery.Interfaces.DataTransferObjects
{
    /// <summary>
    /// This class represent extended topic information
    /// </summary>
    public class Topic: BaseTopicInfo
    {
        #region Fields

        private List<Comment> _comments=new List<Comment>();

        #endregion

        #region Properties
        /// <summary>
        /// Gets or sets the topic's voting 
        /// </summary>
        /// <value>
        /// The topic's voting
        /// </value>
        public Voting Voting
        { get; set; }

        /// <summary>
        /// Gets or sets the topic's comments 
        /// </summary>
        /// <value>
        /// The topic's comments
        /// </value>
        public IList<Comment> Comments
        {
            get
            {
                return _comments;
            }
        }

        #endregion

    

    }
}
